package com.gxuwz.attendance.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gxuwz.attendance.dao.AttendanceDao;
import com.gxuwz.attendance.entity.Attendance;
import com.gxuwz.attendance.service.AttendanceService;
import com.gxuwz.attendance.vo.Page;

@Service("AttendanceServiceImpl")
public class AttendanceServiceImpl implements AttendanceService{

	@Autowired
	private AttendanceDao attendanceDao;
	

	@Override
	public boolean batchSave(String data) {
		return attendanceDao.batchSave(data);
	}

	@Override
	public List<Attendance> findByNum(Attendance attendance, String num) {
		return attendanceDao.findByNum(attendance, num);
	}

	@Override
	public List<Attendance> findByPage(Attendance attendance, Page page) {
		return attendanceDao.findByPage(attendance, page);
	}

}
